-- GENERATED SPELL FOR [Gorloc Waddler] --


function spell0_25685(pUnit, Event) --@Gorloc Stomp,Self--
pUnit:FullCastSpellOnTarget(50522,pUnit)
pUnit:RegisterEvent('Sorts_25685', 10310, 1)
end

function Sorts_25685(pUnit, Event)
local choix_sorts_25685 = math.random(0, 0)
if choix_sorts_25685 == 0 then
pUnit:RegisterEvent('spell0_25685', 1, 1)
end
end

function mob25685_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25685', math.random(1500, 3000), 1)
end

function mob25685_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25685_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25685_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25685, 1, 'mob25685_Action')
RegisterUnitEvent(25685, 2, 'mob25685_Leave')
RegisterUnitEvent(25685, 3, 'mob25685_Kill')
RegisterUnitEvent(25685, 4, 'mob25685_Die')
